# 项目名称
Project(rabbitmqClient)

# 添加源文件
AUX_SOURCE_DIRECTORY(. SRC_LIST)

# 添加头文件搜索路径
INCLUDE_DIRECTORIES(./
		/usr/include)

# 添加库搜索路径
LINK_DIRECTORIES(/usr/local/lib
		/usr/lib64)

# 设置应用程序名称
ADD_EXECUTABLE(rabbitmqClient ${SRC_LIST})

# 链接依赖库
TARGET_LINK_LIBRARIES(rabbitmqClient 
			-lrabbitmq)
